package com.vivien.example.springbootdemo.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author vivien
 * @since 2024-12-05
 */
@Getter
@Setter
@TableName("supplier")
public class Supplier implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "supplierid", type = IdType.AUTO)
    private Byte supplierid;

    @TableField("suppliername")
    private String suppliername;

    @TableField("address")
    private String address;

    @TableField("contact")
    private String contact;

    @TableField("tel")
    private String tel;
}
